package org.dut.aoptest.Controller;

import org.dut.aoptest.Aspect.MyAspect;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/user")
public class UserController {

    @RequestMapping("/u1")
    public String u1() {
        return "u1";
    }

    @MyAspect
    @RequestMapping("/u2")
    public String u2(){
        return "u2";
    }
}
